package com.wuchao.service.userserviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wuchao.mapper.StuinfoMapper;
import com.wuchao.entity.Stuinfo;
import com.wuchao.service.StuinfoService;
/**
 * @Author wuchao66
 * @Date 2022/6/30 11:26
 * @Version 1.0
 */
@Service
public class StuinfoServiceImpl implements StuinfoService{

    @Resource
    private StuinfoMapper stuinfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return stuinfoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Stuinfo record) {
        return stuinfoMapper.insert(record);
    }

    @Override
    public int insertSelective(Stuinfo record) {
        return stuinfoMapper.insertSelective(record);
    }

    @Override
    public Stuinfo selectByPrimaryKey(Integer id) {
        return stuinfoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Stuinfo record) {
        return stuinfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Stuinfo record) {
        return stuinfoMapper.updateByPrimaryKey(record);
    }

}
